package com.hushao.lims.weblims.repository;

import com.hushao.lims.weblims.domain.ClassInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author 930588706
 * @date 18/2/1
 */
public interface ClassRepository extends JpaRepository<ClassInfo,Long> {

    Page<ClassInfo> findByClassNameLike(String className, Pageable pageable);

    ClassInfo findByClassName(String className);
}
